<script>
var qp = null;
if(/code|token|error//static/search/test(window/static/search/location/static/search/hash)) {
  qp = location/static/search/hash/static/search/substring(1);
}
else {
  qp = location/static/search/search/static/search/substring(1);
}
qp = qp ? JSON/static/search/parse('{"' + qp/static/search/replace(/&/g, '","')/static/search/replace(/=/g,'":"') + '"}',
  function(key, value) {
    return key===""?value:decodeURIComponent(value) }
  ):{}

if (window/static/search/opener/static/search/swaggerUiAuth/static/search/tokenUrl)
    window/static/search/opener/static/search/processOAuthCode(qp);
else
    window/static/search/opener/static/search/onOAuthComplete(qp);

window/static/search/close();
</script>
